package miiteen.customsportal.basic.service;

import miiteen.customsportal.basic.beans.BasicPageBrowsing;
import miiteen.customsportal.basic.dao.BasicPageBrowsingDao;
import miiteen.data.dao.BaseDao;
import miiteen.data.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("basicPageBrowsingService")
public class BasicPageBrowsingService extends BaseServiceImpl<BasicPageBrowsing> {


    @Autowired
    private BasicPageBrowsingDao basicPageBrowsingDao;

    @Override
    protected BaseDao<BasicPageBrowsing> getDao() {
        return basicPageBrowsingDao;
    }

    public BasicPageBrowsing getTotalCount(){
        return basicPageBrowsingDao.getTotalCount();
    }
    public BasicPageBrowsing getTodayCount(){
        return basicPageBrowsingDao.getTodayCount();
    }
}
